package controller.game.player.AgentImpl;

import controller.game.player.Agent;
import entity.CounterMessage;
import entity.Message;
import entity.offer.CounterOffer;
import entity.offer.Offer;

public class ExampleAgent extends Agent {

    public ExampleAgent(){
        super();
    }
    @Override
    public void receiveCounterMessage(CounterMessage counterMessage) {
        System.out.println(counterMessage.getBody());
    }

    @Override
    public Offer proposeOffer() {
        CounterOffer offer = new CounterOffer(helper.generateRandomBid());
        return offer;
    }
}
